<?php
/*
 * Copyright (c) 2017-2025 Tencent. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
namespace TencentCloud\Cwp\V20180228\Models;
use TencentCloud\Common\AbstractModel;

/**
 * File Scan Overview Information
 *
 * @method integer getHostCount() Obtain Number of affected hosts
 * @method void setHostCount(integer $HostCount) Set Number of affected hosts
 * @method integer getProcessCount() Obtain Exceptional Process Count
 * @method void setProcessCount(integer $ProcessCount) Set Exceptional Process Count
 * @method integer getFileCount() Obtain Number of Malicious Files
 * @method void setFileCount(integer $FileCount) Set Number of Malicious Files
 * @method boolean getIsFirstScan() Obtain Is it the first Scan [false: No | true: Yes].
 * @method void setIsFirstScan(boolean $IsFirstScan) Set Is it the first Scan [false: No | true: Yes].
 * @method string getScanTime() Obtain Last scan time
 * @method void setScanTime(string $ScanTime) Set Last scan time
 */
class MalwareRiskOverview extends AbstractModel
{
    /**
     * @var integer Number of affected hosts
     */
    public $HostCount;

    /**
     * @var integer Exceptional Process Count
     */
    public $ProcessCount;

    /**
     * @var integer Number of Malicious Files
     */
    public $FileCount;

    /**
     * @var boolean Is it the first Scan [false: No | true: Yes].
     */
    public $IsFirstScan;

    /**
     * @var string Last scan time
     */
    public $ScanTime;

    /**
     * @param integer $HostCount Number of affected hosts
     * @param integer $ProcessCount Exceptional Process Count
     * @param integer $FileCount Number of Malicious Files
     * @param boolean $IsFirstScan Is it the first Scan [false: No | true: Yes].
     * @param string $ScanTime Last scan time
     */
    function __construct()
    {

    }

    /**
     * For internal only. DO NOT USE IT.
     */
    public function deserialize($param)
    {
        if ($param === null) {
            return;
        }
        if (array_key_exists("HostCount",$param) and $param["HostCount"] !== null) {
            $this->HostCount = $param["HostCount"];
        }

        if (array_key_exists("ProcessCount",$param) and $param["ProcessCount"] !== null) {
            $this->ProcessCount = $param["ProcessCount"];
        }

        if (array_key_exists("FileCount",$param) and $param["FileCount"] !== null) {
            $this->FileCount = $param["FileCount"];
        }

        if (array_key_exists("IsFirstScan",$param) and $param["IsFirstScan"] !== null) {
            $this->IsFirstScan = $param["IsFirstScan"];
        }

        if (array_key_exists("ScanTime",$param) and $param["ScanTime"] !== null) {
            $this->ScanTime = $param["ScanTime"];
        }
    }
}
